package com.huixiaodian.ft_message.arouter_service;

import android.content.Context;
import android.content.Intent;
import android.util.Log;

import com.alibaba.android.arouter.facade.annotation.Route;
import com.huixiaodian.baselibrary.ft_message.service.MessageService;
import com.huixiaodian.ft_message.view.activity.MainActivity;

@Route(path = "/message/message_center")
public class MessageServiceImpl implements MessageService {
    @Override
    public void startMessageActivity(Context context, long id) {
        Intent mIntent = new Intent(context, MainActivity.class);
        mIntent.putExtra("ID", id);
        context.startActivity(mIntent);
    }

    @Override
    public void init(Context context) {
        Log.i(MessageServiceImpl.class.getSimpleName(), "init()");
    }
}
